import java.util.Scanner;

public class Data {
    int x;
    int y;

    public Data(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int Add(int x, int y){
        return x+y;
    }

    public static void main1(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int x = scanner.nextInt();
        int y = scanner.nextInt();
        Data data = new Data(x,y);
        int ret = data.Add(x,y);
        System.out.println(ret);
    }
}

class Animal{
    public String name;
    public int age;
    public String color;



    public void Name(){
        System.out.println("姓名： " + name);
    }
    public void Age(){
        System.out.println("年龄： " + age);
    }
    public void Color(){
        System.out.println("颜色： " + color);
    }

    public static void main(String[] args) {
        cat cat = new cat();
        cat.age = 15;
        cat.color = "black";
        cat.show();
        cat.Name();
        cat.Age();
        cat.Color();
    }
}

class cat extends Animal{
    public String name = "100";

    public void show(){
        System.out.println("这是个猫");
    }
    public void Name(){
        System.out.println(super.name);
    }

}
class dog extends Animal {
    public void show() {
        System.out.println("这是个狗");
    }
}

